package com.zyf.retrofitdemo;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebView;

import com.zyf.retrofitdemo.weathercontract.WeaContract;
import com.zyf.retrofitdemo.weatherpresenter.WeaPresenter;

/**
 *
 *@author zyf
 *@date 2018/2/27
 */
public class MainActivity extends AppCompatActivity implements WeaContract.View{

   WeaContract.Presenter mPresenter;
    WebView mWebView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        mPresenter=new WeaPresenter(this);
        mWebView=(WebView)findViewById(R.id.mWebView);
        mWebView.loadUrl("http://pages.springtour.com/Special/ms171221lq-qmm/index.aspx");
    }



}
